package com.nuaa.yygh.hosp.service;

import com.nuaa.model.hosp.Hospital;
import com.nuaa.vo.hosp.HospitalQueryVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface HospitalService {

    //上传医院信息
    void save(Map<String,Object> paramMap);

    Hospital getByHoscode(String hoscode);

    //获取分页列表
    Page<Hospital> selectHospPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    //更新医院的上线状态
    void updateStatus(String id, Integer status);


    Map<String,Object> show(String id);

    String getHospName(String hoscode);



    List<Hospital> findByHosname(String hosname);

    Map<String, Object> item(String hoscode);
}
